package cn.legend.travel.comment.dao.persist.mapper;

import cn.legend.travel.comment.pojo.entity.ProductComment;
import cn.legend.travel.comment.pojo.vo.CommentListItemVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ProductCommentMapper extends BaseMapper<ProductComment> {
    List<CommentListItemVO> selectByArticleId(Long productId);
}
